//需要 本地接口 进行配合
function Myajax(url, options = { method: "get" }) {
  return new Promise((resolve) =>
    fetch("http://localhost:8080/ajax?url=" + url + "&options=" + JSON.stringify(options))
      .then((res) => res.text())
      .then((res) => resolve(res))
  );
}
